package com.dragon.graduation.user.controller.dto;

import com.dragon.bean.SerializableDTO;
import com.dragon.util.QueryType;
import com.dragon.util.Search;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * 账号登录参数对象
 *
 * @author dragon
 * @since 2025-02-28 21:23:44
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ToString
@ApiModel("账号登录参数对象")
public class UserLoginDTO extends SerializableDTO<UserLoginDTO> {
    /**
     * 登录名
     */
    @ApiModelProperty("登录名")
    @Search(propName = "userName", type = QueryType.EQUAL,blurry = "")
    private String userName;
    /**
     * 登录密码
     */
    @ApiModelProperty("登录密码")
    private String password;
}
